package com.xbongbong.pro.statistic.pojo.dto;

import com.xbongbong.pro.domain.entity.DataWarningEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName DataWarningStrategyRabbitMqDTO
 * @Description 数据预警
 * @Author mengna.Deng
 * @Date 2021/4/23 17:07
 * @Version 1.0
 */
@Getter
@Setter
@ToString
public class DataWarningStrategyRabbitMqDTO implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 公司id
     */
    @NotBlank(message = "{dto.msg.dataWarningStrategyRabbitMq.corpid.NotBlank}")
    private String corpid;
    /**
     * 智能助手
     */
    @NotEmpty(message = "{dto.msg.dataWarningStrategyRabbitMq.list.NotEmpty}")
    private List<DataWarningEntity> list;
}
